// 自动生成模板BcProject
package bc

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// bcProject表 结构体  BcProject
type BcProject struct {
	global.GVA_MODEL
	AgencyPrice   float64 `json:"agencyPrice" form:"agencyPrice" gorm:"column:agency_price;comment:代理价;size:19;"`       //代理价
	ChannalId     *int    `json:"channalId" form:"channalId" gorm:"column:channal_id;comment:渠道;size:19;"`              //渠道
	ChannalName   string  `json:"channalName" form:"channalName" gorm:"column:channal_name;comment:渠道名称;size:255;"`     //渠道名称
	CodeType      string  `json:"codeType" form:"codeType" gorm:"column:code_type;comment:取码类型;size:255;"`              //取码类型
	CostPrice     float64 `json:"costPrice" form:"costPrice" gorm:"column:cost_price;comment:成本价;size:19;"`             //成本价
	CustomerPrice float64 `json:"customerPrice" form:"customerPrice" gorm:"column:customer_price;comment:用户价;size:19;"` //用户价
	ProjectName   string  `json:"projectName" form:"projectName" gorm:"column:project_name;comment:项目名称;size:255;"`     //项目名称
	ProjectNo     string  `json:"projectNo" form:"projectNo" gorm:"column:project_no;comment:项目编码;size:255;"`           //项目编码
	RemainNum     *int    `json:"remainNum" form:"remainNum" gorm:"column:remain_num;comment:在线库存;size:19;"`            //在线库存
	SettleOffice  string  `json:"settleOffice" form:"settleOffice" gorm:"column:settle_office;comment:code;size:255;"`  //code
	Status        int     `json:"status" form:"status" gorm:"column:status;comment:状态;size:19;"`                        //状态
}

// TableName bcProject表 BcProject自定义表名 bc_project
func (BcProject) TableName() string {
	return "bc_project"
}
